package com.dex4d.ui.wallet.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.dex4d.R;
import com.dex4d.core.AppToolBarBaseActivity;
import com.dex4d.ui.wallet.fragment.WalletTxFragment;

public class WalletTxActivity extends AppToolBarBaseActivity {

    public static void start(Activity activity) {
        Intent intent = new Intent(activity, WalletTxActivity.class);
        activity.startActivity(intent);
    }

//    @BindView(R.id.tablayout)
//    TabLayout tabLayout;
//
//    @BindView(R.id.viewpager)
//    ViewPager viewPager;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_wallet_tx;
    }

    @Override
    protected void initVariables() {

//        tabLayout.setupWithViewPager(viewPager);
//        viewPager.setAdapter(new TxPagerAdapter(getSupportFragmentManager()));

        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.container, WalletTxFragment.newInstance("", ""))
                .commit();

    }

    @Override
    protected void loadData() {

    }

    @Override
    protected void initToolbar() {
        showBackView();
        showTitle(getString(R.string.wallet_tx_title));

    }

}
